const tokenExist = () => !!localStorage.getItem('token')
const tokenValue = () => localStorage.getItem('token')
const getRole = () => localStorage.getItem('role')
// const realyInfo = () => JSON.parse(localStorage.getItem('userInfo'))
const severInfo = () => JSON.parse(localStorage.getItem('severInfo'))
const severInfoExist = () => !!localStorage.getItem('severInfo')
export { tokenExist, tokenValue, severInfo, severInfoExist, getRole }
